.class public Lcom/xingbook/b/c;
.super Ljava/lang/Object;


# instance fields
.field public a:Lcom/xingbook/c/r;

.field public b:I

.field public c:Ljava/lang/String;

.field public d:Ljava/util/ArrayList;

.field public e:Ljava/util/ArrayList;

.field public f:Ljava/lang/String;

.field public g:I

.field public h:I

.field public i:I

.field public j:I

.field public k:I

.field public l:Z

.field public m:J

.field public n:I

.field public o:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 3

    const/4 v2, 0x0

    const/4 v1, 0x0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput v1, p0, Lcom/xingbook/b/c;->b:I

    iput-object v2, p0, Lcom/xingbook/b/c;->c:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/b/c;->d:Ljava/util/ArrayList;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/b/c;->e:Ljava/util/ArrayList;

    sget v0, Lcom/xingbook/c/c;->O:I

    iput v0, p0, Lcom/xingbook/b/c;->j:I

    const/4 v0, -0x1

    iput v0, p0, Lcom/xingbook/b/c;->k:I

    iput-boolean v1, p0, Lcom/xingbook/b/c;->l:Z

    iput v1, p0, Lcom/xingbook/b/c;->n:I

    iput-object v2, p0, Lcom/xingbook/b/c;->o:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a()Lcom/xingbook/park/e/c;
    .locals 9

    const/4 v0, 0x0

    :try_start_0
    invoke-static {}, Lcom/xingbook/c/n;->k()Lcom/xingbook/park/e/a;

    move-result-object v1

    const-string v2, "http://app2.xingbook.com/checkin.do"

    const/4 v3, 0x5

    new-array v3, v3, [Lorg/apache/http/message/BasicNameValuePair;

    const/4 v4, 0x0

    new-instance v5, Lorg/apache/http/message/BasicNameValuePair;

    const-string v6, "model"

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v7

    invoke-virtual {v7}, Lcom/xingbook/c/j;->j()Ljava/lang/String;

    move-result-object v7

    const-string v8, "UTF-8"

    invoke-static {v7, v8}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    invoke-direct {v5, v6, v7}, Lorg/apache/http/message/BasicNameValuePair;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v5, v3, v4

    const/4 v4, 0x1

    new-instance v5, Lorg/apache/http/message/BasicNameValuePair;

    const-string v6, "os"

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v7

    invoke-virtual {v7}, Lcom/xingbook/c/j;->k()Ljava/lang/String;

    move-result-object v7

    invoke-direct {v5, v6, v7}, Lorg/apache/http/message/BasicNameValuePair;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v5, v3, v4

    const/4 v4, 0x2

    new-instance v5, Lorg/apache/http/message/BasicNameValuePair;

    const-string v6, "loc"

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v7

    invoke-virtual {v7}, Lcom/xingbook/c/j;->l()Ljava/lang/String;

    move-result-object v7

    invoke-direct {v5, v6, v7}, Lorg/apache/http/message/BasicNameValuePair;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v5, v3, v4

    const/4 v4, 0x3

    new-instance v5, Lorg/apache/http/message/BasicNameValuePair;

    const-string v6, "apn"

    invoke-static {}, Lcom/xingbook/c/n;->l()Lcom/xingbook/c/j;

    move-result-object v7

    invoke-virtual {v7}, Lcom/xingbook/c/j;->i()Ljava/lang/String;

    move-result-object v7

    invoke-direct {v5, v6, v7}, Lorg/apache/http/message/BasicNameValuePair;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v5, v3, v4

    const/4 v4, 0x4

    new-instance v5, Lorg/apache/http/message/BasicNameValuePair;

    const-string v6, "scr"

    sget-object v7, Lcom/xingbook/c/e;->e:Ljava/lang/String;

    invoke-direct {v5, v6, v7}, Lorg/apache/http/message/BasicNameValuePair;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    aput-object v5, v3, v4

    invoke-virtual {v1, v2, v3}, Lcom/xingbook/park/e/a;->a(Ljava/lang/String;[Lorg/apache/http/message/BasicNameValuePair;)I
    :try_end_0
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v0

    :goto_0
    new-instance v1, Lcom/xingbook/park/e/c;

    invoke-direct {v1, v0}, Lcom/xingbook/park/e/c;-><init>(I)V

    const/16 v2, 0xc8

    if-ne v0, v2, :cond_0

    invoke-static {}, Lcom/xingbook/c/n;->k()Lcom/xingbook/park/e/a;

    move-result-object v0

    new-instance v2, Lcom/xingbook/b/d;

    invoke-direct {v2, p0, v1}, Lcom/xingbook/b/d;-><init>(Lcom/xingbook/b/c;Lcom/xingbook/park/e/c;)V

    invoke-virtual {v0, v2}, Lcom/xingbook/park/e/a;->a(Lorg/xml/sax/helpers/DefaultHandler;)I

    move-result v0

    const/16 v2, 0x64

    if-ne v0, v2, :cond_0

    move-object v0, v1

    :goto_1
    return-object v0

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Ljava/io/UnsupportedEncodingException;->printStackTrace()V

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    goto :goto_1
.end method
